package com.xingkeduo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xingkeduo.model.example.TActivityCodeExample;
import com.xingkeduo.model.po.TActivityCode;

public interface TActivityCodeMapper {
    int countByExample(TActivityCodeExample example);

    int deleteByExample(TActivityCodeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TActivityCode record);

    int insertSelective(TActivityCode record);

    List<TActivityCode> selectByExample(TActivityCodeExample example);

    TActivityCode selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TActivityCode record, @Param("example") TActivityCodeExample example);

    int updateByExample(@Param("record") TActivityCode record, @Param("example") TActivityCodeExample example);

    int updateByPrimaryKeySelective(TActivityCode record);

    int updateByPrimaryKey(TActivityCode record);
}